
import logging,HTMLTestRunner_cn,yagmail,time,pytest
import os.path
import time

from chardet.cli.chardetect import description_of
from openpyxl.styles.builtins import title


class Tools():
    # 报告
    def Report(self):
        report1 = HTMLTestRunner_cn.HTMLTestRunner(open('./jx.html' ,'wd') ,title='jx登录业务测试报告'
                                                   ,description='jx项目实现搜素功能，测试结果，生成测试报告')
        return report1


if __name__ == '__main__':
    pytest.main([r"E:\zhuangao\wzx9_3\playwright_jx\jx.py",'-s','--html=jx.html'])